Optimal. Leaf size=209 \[ -\frac {\left (\sqrt {-a}-\sqrt {c} x\right ) \left (-\frac {\left (\sqrt {c} d+\sqrt {-a} e\right ) \left (\sqrt {-a}+\sqrt {c} x\right )}{\left (\sqrt {c} d-\sqrt {-a} e\right ) \left (\sqrt {-a}-\sqrt {c} x\right )}\right )^{-p} (d+e x)^{-1-2 p} \left (a+c x^2\right )^p \, _2F_1\left (-1-2 p,-p;-2 p;\frac {2 \sqrt {-a} \sqrt {c} (d+e x)}{\left (\sqrt {c} d-\sqrt {-a} e\right ) \left (\sqrt {-a}-\sqrt {c} x\right )}\right )}{\left (\sqrt {c} d+\sqrt {-a} e\right ) (1+2 p)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 209, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.048, Rules used = {741}
\begin {gather*} -\frac {\left (\sqrt {-a}-\sqrt {c} x\right ) \left (a+c x^2\right )^p (d+e x)^{-2 p-1} \left (-\frac {\left (\sqrt {-a}+\sqrt {c} x\right ) \left (\sqrt {-a} e+\sqrt {c} d\right )}{\left (\sqrt {-a}-\sqrt {c} x\right ) \left (\sqrt {c} d-\sqrt {-a} e\right )}\right )^{-p} \, _2F_1\left (-2 p-1,-p;-2 p;\frac {2 \sqrt {-a} \sqrt {c} (d+e x)}{\left (\sqrt {c} d-\sqrt {-a} e\right ) \left (\sqrt {-a}-\sqrt {c} x\right )}\right )}{(2 p+1) \left (\sqrt {-a} e+\sqrt {c} d\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 741
Rubi steps
\begin {align*} \int (d+e x)^{-2-2 p} \left (a+c x^2\right )^p \, dx &=-\frac {\left (\sqrt {-a}-\sqrt {c} x\right ) \left (-\frac {\left (\sqrt {c} d+\sqrt {-a} e\right ) \left (\sqrt {-a}+\sqrt {c} x\right )}{\left (\sqrt {c} d-\sqrt {-a} e\right ) \left (\sqrt {-a}-\sqrt {c} x\right )}\right )^{-p} (d+e x)^{-1-2 p} \left (a+c x^2\right )^p \, _2F_1\left (-1-2 p,-p;-2 p;\frac {2 \sqrt {-a} \sqrt {c} (d+e x)}{\left (\sqrt {c} d-\sqrt {-a} e\right ) \left (\sqrt {-a}-\sqrt {c} x\right )}\right )}{\left (\sqrt {c} d+\sqrt {-a} e\right ) (1+2 p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 200, normalized size = 0.96 \begin {gather*} \frac {\left (-\sqrt {-a}+\sqrt {c} x\right ) (d+e x)^{-1-2 p} \left (a+c x^2\right )^p \left (1-\frac {c (d+e x)}{c d-\sqrt {-a} \sqrt {c} e}\right )^{-p} \left (1-\frac {c (d+e x)}{c d+\sqrt {-a} \sqrt {c} e}\right )^p \, _2F_1\left (-1-2 p,-p;-2 p;\frac {2 \sqrt {-a} \sqrt {c} (d+e x)}{\left (\sqrt {c} d-\sqrt {-a} e\right ) \left (\sqrt {-a}-\sqrt {c} x\right )}\right )}{\left (\sqrt {c} d+\sqrt {-a} e\right ) (1+2 p)} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.14, size = 0, normalized size = 0.00 \[\int \left (e x +d \right )^{-2-2 p} \left (c \,x^{2}+a \right )^{p}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: HeuristicGCDFailed} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (c\,x^2+a\right )}^p}{{\left (d+e\,x\right )}^{2\,p+2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________